﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter02.Var
{
    public class Var
    {
        public static void Demo()
        {
            var name = "Bugs Bunny";
            var age = 25;
            var isRabbit = true;

            var nameType = name.GetType();
            var ageType = age.GetType();
            var isRabbitType = isRabbit.GetType();

            Console.WriteLine("name is type " + nameType.ToString());
            Console.WriteLine("ages is type " + ageType.ToString());
            Console.WriteLine("isRabbit is type " + isRabbitType.ToString());
        }
    }
}
